package com.example.myactspringboot.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Zhouchb
 * @Create 2024-04-18 21:20
 * @Description
 */
public class Attachment {
    private String title;
    private String fileType;
    private String filePath;
    private String fileName;
    List<Attachment> childre = new ArrayList<>();

    public Attachment() {
    }

    public Attachment(String title, String filePath, String fileName, List<Attachment> childre) {
        this.title = title;
        this.filePath = filePath;
        this.fileName = fileName;
        this.childre = childre;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public List<Attachment> getChildre() {
        return childre;
    }

    public void setChildre(List<Attachment> childre) {
        this.childre = childre;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
